<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OpenShoe: nlao_interrupts.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenShoe
   &#160;<span id="projectnumber">0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">nlao_interrupts.h File Reference</div>  </div>
</div>
<div class="contents">

<p>NEWLIB_ADDONS interrupts include file for AVR32.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;_ansi.h&gt;</code><br/>
</div>
<p><a href="nlao__interrupts_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#acdf3c58d5213c669b055eeeac3adf9ac">INT_GRPS</a>&#160;&#160;&#160;64</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#ac5451f40a2e62103455dc6c86ca6af68">INT_LINES</a>&#160;&#160;&#160;32</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a0f31b3b3979d4e9f4062dc496c97e8f8">INTPR_BASE</a>&#160;&#160;&#160;(__intc_base__ + 0x0000)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a1984dbce1d2b249084ee350ffada3d0f">INTREQ_BASE</a>&#160;&#160;&#160;(__intc_base__ + 64*4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a4702c8c6590123dacebaf8403b02b234">INTCAUSE_BASE</a>&#160;&#160;&#160;(__intc_base__ + 2*64*4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a44cf25d713df4e47aa2e2129a80d2d81">INTLEVEL</a>&#160;&#160;&#160;30</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#afc22e13b064beb0435a1e2903b15bc3f">AUTOVECTOR</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#ad8123429086e0fa77ccad5939342823c">AUTOVECTOR_BITS</a>&#160;&#160;&#160;14</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a7521122e23c8d5c83b2a033b2505c86c">INT0</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#ae4728496f2ab826d5fc6a63da6cb600b">INT1</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#ab254a5a335276357f63779cda0b8e44f">INT2</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a66978634c920dcfa52c504b926f68eef">INT3</a>&#160;&#160;&#160;3</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#ace6f4d91bdc510a19de65683b7169a23">__newlib_int_handler</a> )(int, void *)</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nlao__interrupts_8h.html#ace6f4d91bdc510a19de65683b7169a23">__newlib_int_handler</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a7460b2ada5dbc387512d2ed98ced51ed">register_interrupt</a> (<a class="el" href="nlao__interrupts_8h.html#ace6f4d91bdc510a19de65683b7169a23">__newlib_int_handler</a> handler, int int_grp, int line, int priority,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a88ada49c1954d38252049786595d9a5f">init_interrupts</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="nlao__interrupts_8h.html#a325ee726afb4c32deeec1f5eca8354ed">set_interrupts_base</a> (void *base)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>NEWLIB_ADDONS interrupts include file for AVR32. </p>
<ul>
<li>Compiler: GNU GCC for AVR32</li>
<li>Supported devices: All AVR32 devices can be used.</li>
<li>AppNote:</li>
</ul>
<dl class="author"><dt><b>Author:</b></dt><dd>Atmel Corporation: <a href="http://www.atmel.com">http://www.atmel.com</a> <br/>
 Support and FAQ: <a href="http://support.atmel.no/">http://support.atmel.no/</a> </dd></dl>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="afc22e13b064beb0435a1e2903b15bc3f"></a><!-- doxytag: member="nlao_interrupts.h::AUTOVECTOR" ref="afc22e13b064beb0435a1e2903b15bc3f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AUTOVECTOR&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad8123429086e0fa77ccad5939342823c"></a><!-- doxytag: member="nlao_interrupts.h::AUTOVECTOR_BITS" ref="ad8123429086e0fa77ccad5939342823c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AUTOVECTOR_BITS&#160;&#160;&#160;14</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7521122e23c8d5c83b2a033b2505c86c"></a><!-- doxytag: member="nlao_interrupts.h::INT0" ref="a7521122e23c8d5c83b2a033b2505c86c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INT0&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae4728496f2ab826d5fc6a63da6cb600b"></a><!-- doxytag: member="nlao_interrupts.h::INT1" ref="ae4728496f2ab826d5fc6a63da6cb600b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INT1&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab254a5a335276357f63779cda0b8e44f"></a><!-- doxytag: member="nlao_interrupts.h::INT2" ref="ab254a5a335276357f63779cda0b8e44f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INT2&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a66978634c920dcfa52c504b926f68eef"></a><!-- doxytag: member="nlao_interrupts.h::INT3" ref="a66978634c920dcfa52c504b926f68eef" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INT3&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acdf3c58d5213c669b055eeeac3adf9ac"></a><!-- doxytag: member="nlao_interrupts.h::INT_GRPS" ref="acdf3c58d5213c669b055eeeac3adf9ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INT_GRPS&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac5451f40a2e62103455dc6c86ca6af68"></a><!-- doxytag: member="nlao_interrupts.h::INT_LINES" ref="ac5451f40a2e62103455dc6c86ca6af68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INT_LINES&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4702c8c6590123dacebaf8403b02b234"></a><!-- doxytag: member="nlao_interrupts.h::INTCAUSE_BASE" ref="a4702c8c6590123dacebaf8403b02b234" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTCAUSE_BASE&#160;&#160;&#160;(__intc_base__ + 2*64*4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a44cf25d713df4e47aa2e2129a80d2d81"></a><!-- doxytag: member="nlao_interrupts.h::INTLEVEL" ref="a44cf25d713df4e47aa2e2129a80d2d81" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTLEVEL&#160;&#160;&#160;30</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0f31b3b3979d4e9f4062dc496c97e8f8"></a><!-- doxytag: member="nlao_interrupts.h::INTPR_BASE" ref="a0f31b3b3979d4e9f4062dc496c97e8f8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTPR_BASE&#160;&#160;&#160;(__intc_base__ + 0x0000)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1984dbce1d2b249084ee350ffada3d0f"></a><!-- doxytag: member="nlao_interrupts.h::INTREQ_BASE" ref="a1984dbce1d2b249084ee350ffada3d0f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INTREQ_BASE&#160;&#160;&#160;(__intc_base__ + 64*4)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="ace6f4d91bdc510a19de65683b7169a23"></a><!-- doxytag: member="nlao_interrupts.h::__newlib_int_handler" ref="ace6f4d91bdc510a19de65683b7169a23" args=")(int, void *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* <a class="el" href="nlao__interrupts_8h.html#ace6f4d91bdc510a19de65683b7169a23">__newlib_int_handler</a>)(int, void *)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a88ada49c1954d38252049786595d9a5f"></a><!-- doxytag: member="nlao_interrupts.h::init_interrupts" ref="a88ada49c1954d38252049786595d9a5f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void init_interrupts </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7460b2ada5dbc387512d2ed98ced51ed"></a><!-- doxytag: member="nlao_interrupts.h::register_interrupt" ref="a7460b2ada5dbc387512d2ed98ced51ed" args="(__newlib_int_handler handler, int int_grp, int line, int priority,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="nlao__interrupts_8h.html#ace6f4d91bdc510a19de65683b7169a23">__newlib_int_handler</a> register_interrupt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="nlao__interrupts_8h.html#ace6f4d91bdc510a19de65683b7169a23">__newlib_int_handler</a>&#160;</td>
          <td class="paramname"><em>handler</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>int_grp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>priority</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a325ee726afb4c32deeec1f5eca8354ed"></a><!-- doxytag: member="nlao_interrupts.h::set_interrupts_base" ref="a325ee726afb4c32deeec1f5eca8354ed" args="(void *base)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void set_interrupts_base </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 17:59:32 for OpenShoe by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
